import bb.cascades 1.0

NavigationPane {
    id: homeNavigation
    Page {
        
        actions: [
            // define the actions for first tab here
            ActionItem {
                title: qsTr("Rotate")
                onTriggered: {
                    //                imgTab1.rotationZ = imgTab1.rotationZ + 90;
                }
            },
            ActionItem {
                title: qsTr("Break")
                onTriggered: {
                    //                imgTab1.imageSource = "asset:///images/picture1br.png";
                }
            }
        ]
        
        Container {
            Container {
                horizontalAlignment: HorizontalAlignment.Center
                topPadding: 100
                
                ImageView {
                    imageSource: "asset:///images/picture1.png"
                    horizontalAlignment: HorizontalAlignment.Center
                }
            
            
            }
            
            Container {
                //            layout: StackLayout {
                //                orientation: LeftToRight
                //            }
                horizontalAlignment: HorizontalAlignment.Center
                topPadding: 50
                
                Label {
                    text: "asserthrd esaf"
                    horizontalAlignment: HorizontalAlignment.Center
                }
                
                Label {
                    text: "fgdfggd dsgdhf fghdfhs sdgds dgdg sdgasgsdgdsg "
                    maxWidth: 650
                    horizontalAlignment: HorizontalAlignment.Center
                }
                
                TextArea {
                    text: "fgdfggd dsgdhf fghdfhs sdgds dgdg sdsg ifghdk sdjkh sdiluhes sdkl sdghsdkl lgihj as gorofhn ofhldf fghoeuiyohg sdilf"
                    horizontalAlignment: HorizontalAlignment.Center
                    maxWidth: 650
                    editable: false
                }
            }
            
            Divider {
            }
            
            Container {
                layout: StackLayout {
                    orientation: LayoutOrientation.LeftToRight
                }
                horizontalAlignment: HorizontalAlignment.Center
                topPadding: 50
                
                Label {
                    text: "ass"
                }
                
                Label {
                    text: "as"
                }
            }
            
            Container {
                layout: StackLayout {
                    orientation: LayoutOrientation.LeftToRight
                }
                horizontalAlignment: HorizontalAlignment.Center
                //            topPadding: 50
                
                Label {
                    text: "ass"
                }
                
                ImageView {
                    imageSource: "asset:///images/picture1.png"
                    horizontalAlignment: HorizontalAlignment.Center
                    maxWidth: 100
                    maxHeight: 50
                    scalingMethod: ScalingMethod.AspectFit
                }
            }
        }
    }
}